<?php
// 本类由系统自动生成，仅供测试用途
namespace Home\Controller;
use Think\Controller;
class LuruController extends Controller {
	public function index(){
	    $fu=I('fu','','int');
		$name=I('name','','');
		$data=array(
		'tag_parent_id'=>$fu,
		'tag_content'=>$name,
		);
		if(IS_POST){
		$ok=M('tag')->data($data)->add();
		echo $ok?'ok':'error';
		}
		$this->display();
		}
}
?>